package com.dianxin.smartpark.service.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 读取
 * @Authort Ricartc
 */

@Configuration
@Component
public class FileUrlConfig {
    @Value("${file.upload.url}")
    private String uploadUrl;

    @Value("${file.download.url}")
    private String downloadUrl;

    public String getUploadUrl() {
        return uploadUrl;
    }

    public void setUploadUrl(String uploadUrl) {
        this.uploadUrl = uploadUrl;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }
}
